package com.hello.file.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 阿里云OSS配置
 * 
 * @author hello
 */
@Configuration
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliyunConfig
{
    /**
     * 域名
     */
    private String domain;

    /**
     * 端点
     */
    private String endpoint;

    /**
     * 密钥id
     */
    private String accessKeyId;

    /**
     * 密钥密码
     */
    private String accessKeySecret;

    /**
     * 存储桶名称
     */
    private String bucketName;

    public String getDomain()
    {
        return domain;
    }

    public void setDomain(String domain)
    {
        this.domain = domain;
    }

    public String getEndpoint()
    {
        return endpoint;
    }

    public void setEndpoint(String endpoint)
    {
        this.endpoint = endpoint;
    }

    public String getAccessKeyId()
    {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId)
    {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret()
    {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret)
    {
        this.accessKeySecret = accessKeySecret;
    }

    public String getBucketName()
    {
        return bucketName;
    }

    public void setBucketName(String bucketName)
    {
        this.bucketName = bucketName;
    }
} 